package ru.pb.auth.network.engine.auth.packets.sendable;

import ru.pb.auth.network.engine.auth.packets.AuthServerToAuthClientPacket;

/**
 * Пакет списка друзей
 * 
 * @author: DarkSkeleton
 * @version: 1.02
 */
public class PROTOCOL_BASE_GET_MYFRIENDS_ACK extends AuthServerToAuthClientPacket
{

	@Override
	public void writeImpl()
	{
		writeB(new byte[] {0x12, 0x01});
		writeB(new byte[] {0x01}); // count friends
		writeC(10);
		writeS("[GM]Admin", 10); // Имя друга

		writeB(new byte[] {0x78, 0x61, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00});
		writeB(new byte[] {0x30, 0x00});
		writeB(new byte[] {0x10, (byte) 0xf9, 0x36});
	}
}